﻿using UnityEngine;


/// <summary>
/// 
/// </summary>
public class ControlExample :MonoBehaviour
{
    private void Start()
    {
        ModuleUnitData.UnitDLMono.Get<ModuleExample, DataExample>().OnTDataUpdated += OnDataUpdated;
    }

    private void OnDataUpdated(DataExample example)
    {
        Debug.Log($"{example.Name} {example.Description}");
    }

    private void OnDataSuccess()
    {
        
    }
}